<div class="panel-body res-form" ms-controller="" style="padding: 30px;border:1px #ccc dashed;margin:10px;position: relative;">
    <div ms-attr="{resId:@resInfo.resId}" ms-if="@selfDelete" class="delete-form" style="position: absolute;right:5px;top:5px;font-size: 20px;cursor:pointer">
        <span class="glyphicon glyphicon-remove" aria-hidden="true" ></span>
    </div>
    <form class="form-horizontal" role="form">
        <div class="base-property">
        
        </div>
        
        <div class="individual-property">
            <table class="table res-individual-db-form" style="width:80%;margin:auto;">
				<tr>
				    <th style="text-align: center;width:20%;border:0px;">属性中文名</th>
				    <th  ms-if="'verify'===@step" style="text-align: center;width:20%;border:0px;">属性英文名</th>
                    <th  ms-if="'verify'===@step" style="text-align: center;width:20%;border:0px;">属性类型</th>
                    <th  ms-if="'verify'===@step" style="text-align: center;width:10%;border:0px;">长度</th>
				    <th  style="text-align: center;width:30%;border:0px;">备注</th>
				    <th style="width:5%;border:0px;"  ms-if="!@readOnly">
				        <button type="button" class="btn btn-default btn-xs btn-new-field" ms-click="@addEntry">
				            <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
				        </button>
				    </th>
				</tr>  
				<tr ms-for="($i,el) in @resInfo.schema.entries" >
				    <td><input name="alias" ms-duplex="el.alias" type="text" class="form-control input-sm"></input></td>
				    <td  ms-if="'verify'===@step">
				        <input name="entryName" type="text" ms-duplex="el.entryName" class="form-control input-sm"></input>
				    </td>
                    <td  ms-if="'verify'===@step">
                        <select name="entryType"  ms-duplex="el.entryType" class="form-control input-sm">
                            <option value="0">字符串</option>
                            <option value="1">整数</option>
                            <option value="8">小数</option>
                            <option value="5">日期</option>
                        </select>
                    </td>
                    <td ms-if="'verify'===@step">
                        <input name="entryTypeLen" type="text" onkeyup="this.value=this.value.replace(/\D/g,'')" ms-duplex="el.entryTypeLen" class="form-control input-sm"></input>
                    </td>
                    <td><input name="entryMemo" ms-duplex="el.entryMemo" type="text" class="form-control input-sm"></input></td>
				    <td ms-if="!@readOnly">
				        <button type="button" class="btn btn-default btn-xs btn-delete-field" ms-click="@removeEntry($i)" >
				            <span class="glyphicon glyphicon-minus" aria-hidden="true"></span>
				        </button>
				    </td>
				</tr>
		    </table>
        </div>
    </form>
</div>                      
